package jnpf.engine.custom.life;

import cn.hutool.core.collection.CollUtil;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import jnpf.engine.entity.FlowRunAddNodeTemplateEntity;
import jnpf.engine.service.FlowRunAddNodeTemplateEntityService;
import org.flowable.engine.ProcessEngine;
import org.flowable.engine.ProcessEngineLifecycleListener;
import org.flowable.engine.RepositoryService;
import org.flowable.engine.repository.ProcessDefinition;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author Doctor4JavaEE
 * @since 2024/3/4
 */
@Component
public class CustomProcessEngineLifeStyleListener implements ProcessEngineLifecycleListener {
    @Resource
    private FlowRunAddNodeTemplateEntityService flowRunAddNodeTemplateEntityService;
    @Override
    public void onProcessEngineBuilt(ProcessEngine processEngine) {

    }

    @Override
    public void onProcessEngineClosed(ProcessEngine processEngine) {

    }
}
